Skip to main content

FontMakeWithStyle

Type​

expression

Summary​

Creates a new instance of the named font.

Syntax​

font <mName> with ( bold  | italic  | bold italic  ) style

Description​

Creates a new instance of the named font.

Parameters​

NameTypeDescription

mName

An expression which evaluates to a string.

Examples​

// Create italic Arial font
variable tFont as Font
put font "Arial" with italic style into tFont

Value​

NameTypeDescription

return

A new instance of the named font with style bold, italic, or bold italic, and the default size of 12pts.

Thank you for your feedback!

Was this page helpful?